package frame.kit;

import java.util.HashMap;

import cn.dreampie.route.core.Params;

public class MapKit {
	public static HashMap<String, Object> params2Map(Params params) {
		HashMap<String, Object> map = new HashMap<String, Object>();
		for (String key : params.getNames()) {
			map.put(key, params.get(key));
		}
		return map;
	}
}
